package com.monkeyk.sos.service;

import java.util.List;

import com.monkeyk.sos.domain.model.ResInterface;


public interface ResInterfaceService {

    //增加接口
    void addResInterface(ResInterface ri);
    //删除接口
    void deleteResInterfaceByID(Long id);
    //通过资源id 删除接口
    void deleteResInterfaceByRSID(String rsname);
    //更新接口
    void updateResInterface(ResInterface ri);
    
    //通过自身id得到
    List<ResInterface> selectResInterfaceByID(Long id);
    
    //得到所有的接口
    List<ResInterface> getAllResInterfaceList();
    //根据条件获取接口
    List<ResInterface> getSelectedResInterface(ResInterface ri);

}